package com.canaan.business.mapper.inOutStock;

import com.canaan.business.domain.inOutStock.WmsPickingRecord;

import java.util.List;

/**
 * 拣货记录Mapper接口
 *
 * @author ruoyi
 * @date 2022-12-20
 */
public interface WmsPickingRecordMapper
{
    /**
     * 查询拣货记录
     *
     * @param id 拣货记录主键
     * @return 拣货记录
     */
    public WmsPickingRecord selectWmsPickingRecordById(Long id);

    /**
     * 查询拣货记录列表
     *
     * @param wmsPickingRecord 拣货记录
     * @return 拣货记录集合
     */
    public List<WmsPickingRecord> selectWmsPickingRecordList(WmsPickingRecord wmsPickingRecord);

    /**
     * 新增拣货记录
     *
     * @param wmsPickingRecord 拣货记录
     * @return 结果
     */
    public int insertWmsPickingRecord(WmsPickingRecord wmsPickingRecord);

    /**
     * 批量新增拣货记录
     *
     * @param pickingRecordList 拣货记录列表
     * @return 结果
     */
    public int batchInsertWmsPickingRecord(List<WmsPickingRecord> pickingRecordList);

    /**
     * 修改拣货记录
     *
     * @param wmsPickingRecord 拣货记录
     * @return 结果
     */
    public int updateWmsPickingRecord(WmsPickingRecord wmsPickingRecord);

    /**
     * 删除拣货记录
     *
     * @param id 拣货记录主键
     * @return 结果
     */
    public int deleteWmsPickingRecordById(Long id);

    /**
     * 批量删除拣货记录
     *
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteWmsPickingRecordByIds(Long[] ids);
}
